package com.shop.cloud.domain.hongfu;

import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;

import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.shop.cloud.common.mybatis.BaseEntity;

/**
 * 
 * user_member-
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler","fieldHandler" }, ignoreUnknown = true)
public class UserMember extends BaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 用户id
	 */
	@ApiModelProperty(value = "用户id")
	 private Long userId;
	/**
	 * 会员星级
	 */
	@ApiModelProperty(value = "购买类型")
	 private String level;
	
	/**
	 * 已返期数
	 */
	@ApiModelProperty(value = "已返期数")
	 private String returnPeriods;
	/**
	 * 购买时间
	 */
	@ApiModelProperty(value = "购买时间")
	 private Timestamp createTime;
	/**
	 * 更改时间
	 */
	@ApiModelProperty(value = "更改时间")
	 private Timestamp updateTime;
	
	@ApiModelProperty(value = "昵称")
	private String nickname;

	/**
	 * 手机号码
	 */
	@ApiModelProperty(value = "手机号码")
	private String phone;
	
	@ApiModelProperty(value = "所属门店")
	private String store;
	
	private String roleId;
	
	private String levelRemark;
	
	private String tradeNo;
	
	/**
	 * @return the tradeNo
	 */
	public String getTradeNo() {
		return tradeNo;
	}

	/**
	 * @param tradeNo the tradeNo to set
	 */
	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	/**
	 * 会员卡价格
	 */
	@ApiModelProperty(value = "会员卡价格")
	 private Float price;
	
	/**
	 * @return the price
	 */
	public Float getPrice() {
		return price;
	}

	/**
	 * @param price the price to set
	 */
	public void setPrice(Float price) {
		this.price = price;
	}

	/**
	 * @return the levelRemark
	 */
	public String getLevelRemark() {
		return levelRemark;
	}

	/**
	 * @param levelRemark the levelRemark to set
	 */
	public void setLevelRemark(String levelRemark) {
		this.levelRemark = levelRemark;
	}

	/**
	 * @return the roleId
	 */
	public String getRoleId() {
		return roleId;
	}

	/**
	 * @param roleId the roleId to set
	 */
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	/**
	 * @return the nickname
	 */
	public String getNickname() {
		return nickname;
	}

	/**
	 * @param nickname the nickname to set
	 */
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	/**
	 * @return the phone
	 */
	public String getPhone() {
		return phone;
	}

	/**
	 * @param phone the phone to set
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}

	/**
	 * @return the store
	 */
	public String getStore() {
		return store;
	}

	/**
	 * @param store the store to set
	 */
	public void setStore(String store) {
		this.store = store;
	}

	public UserMember(){
    
    }
    
    public Long getUserId() {
        return this.userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
   
    /**
	 * @return the level
	 */
	public String getLevel() {
		return level;
	}

	/**
	 * @param level the level to set
	 */
	public void setLevel(String level) {
		this.level = level;
	}

	public String getReturnPeriods() {
        return this.returnPeriods;
    }
    
    public void setReturnPeriods(String returnPeriods) {
        this.returnPeriods = returnPeriods;
    }

	/**
	 * @return the createTime
	 */
	public Timestamp getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	/**
	 * @return the updateTime
	 */
	public Timestamp getUpdateTime() {
		return updateTime;
	}

	/**
	 * @param updateTime the updateTime to set
	 */
	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}
   

}